package com.gitee.mazhenggg.mall.account.web.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(name = "feign", url = "mall-point:8082/api/point")
public interface PointProvider {

    @PostMapping("/add")
    Boolean addPoint(@RequestBody Map<String, Long> consum);

}
